package ac.jp.u_tokyo.SyncLib.tests.generated; import ac.jp.u_tokyo.SyncLib.tests.InputOutputTestBase;public class FindByTest extends InputOutputTestBase {protected String getTestFilePath(){return "C:\\Documents and Settings\\t2ladmin\\My Documents\\Projects\\2008\\OS3\\SyncLib\\testfiles\\InputOutputTests\\FindByTest.test";}protected ac.jp.u_tokyo.SyncLib.Sync getSync() {return getMainFactory().create();}
public static ac.jp.u_tokyo.SyncLib.SyncFactory getKVDGetFactory(Object keyOverValue, Object keyFactory){
ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory __generated_var1 = new ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory();
__generated_var1.setKeyOverValue(keyOverValue);
__generated_var1.setKeyFactory(keyFactory);

return __generated_var1;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotEqual2Factory(Object defaultValues){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var2 = getSetMember2Factory(defaultValues, (new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualTester2()));

return __generated_var2;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getContainmentReferenceMaintainerFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var4 = getContainmentReferenceFactory(attribute);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var3 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var4, 1,1);

return __generated_var3;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSGetFactory(Object key, Object dictOverValue){
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var5 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var5.setDictOverValue(dictOverValue);
__generated_var5.setKey(key);

return __generated_var5;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getContainmentReferenceFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var6 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var7 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var7.setParaVars("srcObj", "tgtDict");
__generated_var7.setOtherVars("ref", "tgtObj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var8 = getSGetFactory(attribute, true);
__generated_var7.connectSync(__generated_var8, "srcObj", "ref");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var9 = getKVDGetFactory(true, null);
__generated_var7.connectSync(__generated_var9, "ref", "tgtDict", "tgtObj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var10 = getNotNullFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var7.connectSync(__generated_var10, "tgtObj");
__generated_var6.addFactory(__generated_var7);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var11 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var11.setParaVars("srcObj", "tgtDict");
__generated_var11.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var12 = getEqualFactory(null);
__generated_var11.connectSync(__generated_var12, "srcObj");
__generated_var6.addFactory(__generated_var11);

return __generated_var6;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSetMemberFactory(Object defaultValue, Object tester){
ac.jp.u_tokyo.SyncLib.language.factories.SetMemberFactory __generated_var13 = new ac.jp.u_tokyo.SyncLib.language.factories.SetMemberFactory();
__generated_var13.setDefaultValue(defaultValue);
__generated_var13.setTester(tester);

return __generated_var13;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getFindValueByFactory(Object attribute, Object keyFactory, Object dictOverVal){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var14 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var14.setParaVars("d", "attr", "k", "v");
__generated_var14.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var15 = getFindByFactory(attribute, keyFactory);
__generated_var14.connectSync(__generated_var15, "d", "attr", "k");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var16 = getDVDGetFactory(dictOverVal);
__generated_var14.connectSync(__generated_var16, "k", "d", "v");

return __generated_var14;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getFindByFactory(Object attribute, Object keyFactory){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var17 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var17.setParaVars("d", "v", "k");
__generated_var17.setOtherVars("d0");
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var19 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var20 = getSGetFactory(attribute, true);
__generated_var19.addFactory(__generated_var20);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var21 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var21.setParaVars("a", "b");
__generated_var21.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var22 = getEqualFactory(null);
__generated_var21.connectSync(__generated_var22, "a");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var23 = getEqualFactory(null);
__generated_var21.connectSync(__generated_var23, "b");
__generated_var19.addFactory(__generated_var21);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var18 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var19, 2,0);
__generated_var17.connectSync(__generated_var18, "d", "d0");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var24 = getKVDGetFactory(false, keyFactory);
__generated_var17.connectSync(__generated_var24, "k", "d0", "v");

return __generated_var17;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getMainFactory(){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var25 = getFindByFactory("s", null);

return __generated_var25;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSetMember2Factory(Object defaultValues, Object tester){
ac.jp.u_tokyo.SyncLib.language.factories.SetMembersFactory __generated_var26 = new ac.jp.u_tokyo.SyncLib.language.factories.SetMembersFactory();
__generated_var26.setDefaultValues(defaultValues);
__generated_var26.setTester(tester);

return __generated_var26;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getDGetFactory(Object dictOverValue, Object changeKeyFirst, Object keyFactory){
ac.jp.u_tokyo.SyncLib.language.factories.DGetFactory __generated_var27 = new ac.jp.u_tokyo.SyncLib.language.factories.DGetFactory();
__generated_var27.setDictOverValue(dictOverValue);
__generated_var27.setChangeKeyFirst(changeKeyFirst);
__generated_var27.setKeyFactory(keyFactory);

return __generated_var27;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getDVDGetFactory(Object dictOverValue){
ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory __generated_var28 = new ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory();
__generated_var28.setDictOverValue(dictOverValue);

return __generated_var28;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNullableReferenceMaintainerFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var30 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var31 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var31.setParaVars("obj", "tgtDict");
__generated_var31.setOtherVars("tgtRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var32 = getSGetFactory(attribute, true);
__generated_var31.connectSync(__generated_var32, "obj", "tgtRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var33 = getNullableReferenceFactory();
__generated_var31.connectSync(__generated_var33, "tgtRef", "tgtDict");
__generated_var30.addFactory(__generated_var31);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var34 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var34.setParaVars("obj", "tgtDict");
__generated_var34.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var35 = getTestEqualFactory(null);
__generated_var34.connectSync(__generated_var35, "obj");
__generated_var30.addFactory(__generated_var34);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var29 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var30, 1,1);

return __generated_var29;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotNullFactory(Object defaultValue){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var36 = getNotEqualFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()), null);

return __generated_var36;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotEqualFactory(Object defaultValue, Object value){
ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory __generated_var37 = new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory();
__generated_var37.setDefaultValue(defaultValue);
__generated_var37.setValue(value);

return __generated_var37;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getTestEqualFactory(Object value){
ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory __generated_var38 = new ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory();
__generated_var38.setValue(value);

return __generated_var38;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getEqualFactory(Object value){
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var39 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var39.setValue(value);

return __generated_var39;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getIdFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.IDFactory __generated_var40 = new ac.jp.u_tokyo.SyncLib.language.factories.IDFactory();
__generated_var40.setV1OverV2(true);

return __generated_var40;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNullableReferenceFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var41 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var42 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var42.setParaVars("objRef", "objs");
__generated_var42.setOtherVars("obj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var43 = getKVDGetFactory(true, null);
__generated_var42.connectSync(__generated_var43, "objRef", "objs", "obj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var44 = getNotNullFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var42.connectSync(__generated_var44, "obj");
__generated_var41.addFactory(__generated_var42);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var45 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var45.setParaVars("objRef", "objs");
__generated_var45.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var46 = getEqualFactory(null);
__generated_var45.connectSync(__generated_var46, "objRef");
__generated_var41.addFactory(__generated_var45);

return __generated_var41;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getEqual2Factory(Object defaultValues){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var47 = getSetMember2Factory(defaultValues, (new ac.jp.u_tokyo.SyncLib.language.factories.EqualTester()));

return __generated_var47;
}
}